package Server;
/**
 *
 * @author pbal
 */

public class RunServer {

    /**
     * @param args the command line arguments
     */
   
    public static void main(String[] args) throws Exception {
        
      //  if(args.length >1) {
        RMIServer serverRun = new RMIServer("RMIServer", "localhost", "9020");
        serverRun.getUrlServer("rmi://localhost:9020/RMIServer");
//        System.out.println("Server running: rmi://localhost:9020/RMIServer");
        serverRun.runServerRMI();
        //} else {
        //    System.out.println("Error! Not correct input arguments.");
        //    System.exit(1);
        //}        
    }    
}
